package com.atguigu.tingshu.search.client.impl;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.search.client.SearchFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class SearchDegradeFeignClient implements SearchFeignClient {

    @Override
    public Result updateLatelyAlbumRanking() {
        log.info("调用专辑搜索服务【updateLatelyAlbumRanking】出现异常");
        return Result.fail();
    }
}
